package com.learn.security.mapper;

import com.learn.security.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author YU.TAN
 * @since 2022-12-08
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> listRoleByUserId(@Param("userId") Long userId);
}
